package com.spring.dynamic.jar.core;

import org.springframework.util.ClassUtils;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

/**
 * MappingHandler
 *
 * @author Brant Liu <br> 邮箱：<br>lbf1988@qq.com <br>日期：<br>2018/04/09
 * @version 1.0.0
 */
public class MappingHandler extends RequestMappingHandlerMapping {

    public void detectHandlerMethods(Class<?> clazz){
        this.detectHandlerMethods(ClassUtils.getShortNameAsProperty(clazz));
    }

    @Override
    public void detectHandlerMethods(Object handler) {
        super.detectHandlerMethods(handler);
    }
}
